package com.amazon.service;

import com.alibaba.fastjson.JSONObject;
import com.amazon.domain.User;
import com.amazon.params.AddUserParam;
import com.amazon.params.BasePageParam;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author ext.yangming13
* @description 针对表【t_user】的数据库操作Service
* @createDate 2025-06-16 14:33:53
*/
public interface UserService extends IService<User> {

    String addUser(AddUserParam param) throws InterruptedException;

    IPage<User> listUser(BasePageParam param);

    String updateUser(AddUserParam param);

    String tianKa(AddUserParam param);

    String loginCheckCode(AddUserParam param);

    String check(AddUserParam param);

    User getUser(String name);

    JSONObject getMaxId();
}
